import request from '../network/request'

// Get请求：
export function getUserList(params) {
  return request({
    method: 'get',
    url: '/list?name=leilei&age=24',
    params
  })
}

export function addUser(query) {
  return request({
    url: '/add',
    method: 'post',
    data: query
  })
}

export function delUser(query) {
  return request({
    url: '/delUser',
    method: 'delete',
    data: query
  })
}
